package com.briup.category.mapper;

import com.briup.category.domin.Category;

import java.util.List;

public interface CategoryMapper {

    Category findById(Integer cid);

    Category findById2(Integer cid);

    Category findById3(Integer cid);

    //根据⼀级类别id查询其下的所有⼆级分类
    List<Category> findAllByParentId(Integer pid);

}
